package com.ztgf.sys.models.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;
import java.io.Serializable;
import java.util.List;

/**
 * 菜单VO
 *
 * @author YUE
 * @Date 2020-05-28 14:31:06
 */
@Data
public class SysMenuVO implements Serializable {
    @ApiModelProperty(value = "主键")
    private Long id;
    @ApiModelProperty(value = "乐观锁")
    private Integer revision;
    @ApiModelProperty(value = "创建人")
    private Long createUserId;
    @ApiModelProperty(value = "更新人")
    private Long updateUserId;
    @ApiModelProperty(value = "名字")
    private String name;
    @ApiModelProperty(value = "编号 如：select、insert、edit、delete")
    private String code;
    @ApiModelProperty(value = "菜单图标")
    private String icon;
    @ApiModelProperty(value = "菜单路径")
    private String url;
    @ApiModelProperty(value = "菜单层级")
    private Integer levels;
    @ApiModelProperty(value = "排序 默认排序")
    private Integer sort;
    @ApiModelProperty(value = "是否是菜单 0不是，1是")
    private Integer menu;
    @ApiModelProperty(value = "是否打开 0不打开，1打开")
    private Integer open;
    @ApiModelProperty(value = "备注")
    private String notes;
    @ApiModelProperty(value = "状态 0不启用，1启用")
    private Integer status;
    @ApiModelProperty(value = "父级id")
    private Long parentId;
    @ApiModelProperty(value = "当前菜单树")
    private String treeIds;
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
    @ApiModelProperty(value = "系统类型 0当前系统")
    private Integer webType;
    @ApiModelProperty(value = "下级的菜单")
    private List<SysMenuVO> sysMenuVOList;
}
